package conexion;

import java.sql.Connection;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.sql.SQLException;

public class prueba {


	public static void main(String[] args) throws SQLException {
		Connection con = conexion.BBDD.abrirConexion();
		String sql="SELECT * FROM usuario;";
		PreparedStatement pr = con.prepareStatement(sql);
		ResultSet rs=(ResultSet) pr.executeQuery();
		while(rs.next()){
			System.out.println(rs.getString(3));
		}
		

	}

}
